#ifndef ONE_DYNAMIC_H
#define ONE_DYNAMIC_H

#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include "stydatabase.h"

class one_dynamic : public QWidget
{
    Q_OBJECT
public:
    explicit one_dynamic(QWidget *parent = 0);
    one_dynamic(struct DailySummary &dynamic);
    QHBoxLayout *topLay;
    QHBoxLayout *buttomLay;
    QVBoxLayout *layout;
    QLabel *portraitLabel;
    QLabel *nameLabel;
    QLabel *timeLabel;
    QLabel *summaryLabel;
    QLabel *photoLabel;
    QPushButton *praiseBtn;
    QLabel *praisePeopleLabel;

signals:

public slots:
};

#endif // ONE_DYNAMIC_H
